package com.congwulin.wechat.mapper.user;

import com.congwulin.wechat.entity.user.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int batchInsert(List<User> record);

    int batchUpdate(List<User> record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    User selectByAccountAndPassword(User user);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}